<?php
session_start(); //开启
//检测权限


$user_info = $_SESSION['admin']; //后台管理用户的session
if (empty($user_info)) {
    header("Location:login.php");
}
